package com.xlf.common.core.exception.auth;

import org.springframework.security.core.AuthenticationException;

public class JwtAuthenticationException extends AuthenticationException {

    /**
     * 错误码
     */
    private Integer code;

    public JwtAuthenticationException(String msg) {
        super(msg);
    }

    public JwtAuthenticationException(String msg,Integer code) {
        super(msg);
        this.code = code;
    }
}
